Skip to content

fix: reset confirm-order loading after request failures - #13

Open
Hanabi9248 wants to merge 2 commits into
IvorySQL:IVYC_REL_5_STABLEfrom
Hanabi9248:codex/reset-confirm-order-loading
Open

Hanabi9248 wants to merge 2 commits into
IvorySQL:IVYC_REL_5_STABLEfrom
Hanabi9248:codex/reset-confirm-order-loading

Conversation

@Hanabi9248

Copy link
Copy Markdown

When an instance creation or restore request rejects, ConfirmOrder shows the error but leaves the confirm button loading indefinitely. Reset loading in both rejection handlers so the user can retry.

Added network-error tests for both endpoints. They fail on the current branch and pass with this change. All 6 unit tests pass on Node 18; ESLint reports no errors in the changed component (2 existing warnings).

@Hanabi9248

Copy link
Copy Markdown
Author

Could someone review the loading-state reset when you have a moment? Both request-failure paths have regression tests that fail on the base branch; all six unit tests pass after the fix. I can adjust the handling if the dialog is expected to stay loading after an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant